#include "junix.h"

 int fn( const char *fpath,
		 const struct stat *sb, 
		 int typeflag)
{
	printf("%s\n",fpath);
	return 0;
}


int main(int argc, char **argv)
{
	if( argc!=2)
		err_quit("Usage:%s dir", argv[0]);
	ftw(argv[1],fn,0);
    exit(0);
}

